package net.zjitc.service;

import net.zjitc.entity.Role;

import java.util.List;

public interface RoleService {
    List<Role> getRole();

    Role addRole(Role role);

    Role updateRole(Role role, int id);

    int delete(int id);

    int addrids(int id, String idStr);

    Role deleteRightId(int id, int rightid);

    Role findRoleById(int id);
}
